package com.quanquan.management.request;

import lombok.Data;
import request.PageRequestBody;

/**
 * @ClassName:Admin
 * @Description:TODO
 * @Author:xiongjunbao
 * @Date:2019/3/29 15:35
 * @Version 1.0
 */
@Data
public class AdminRequest extends PageRequestBody {


    private String id;

    private String name;

    private String password;

    /**
     * 修改密码时使用，用来确认密码
     */
    private String truePassword;

    /**
     * 账号
     */
    private String account;

    private Integer status;

    /**
     * 商户id，该商户下的总核销账号
     */
    private String storeId;

    /**
     * 账号级别 1总账号 2子账号
     */
    private Integer level;

    public AdminRequest(Integer page, Integer size, String keyword, Integer type, String sort, boolean isAsc, String fromDate, String toDate) {
        super(page, size, keyword, type, sort, isAsc, fromDate, toDate);
    }

    public AdminRequest(Integer page, Integer size, String sort, boolean isAsc) {
        super(page, size, sort, isAsc);
    }

    public AdminRequest(Integer page, Integer size, String keyword, String sort, boolean isAsc) {
        super(page, size, keyword, sort, isAsc);
    }

    public AdminRequest(){super();}
}
